package com.lhkj.ct.meta.modules.gauge.model.dto;

import com.lhkj.ct.base.validator.constraints.HasNonElement;
import com.lhkj.ct.meta.modules.psychology.model.entity.TblScalePsyRecord;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *     描述
 * </p>
 */
@Setter
@Getter
public class RemindDto implements Serializable {

    @NotEmpty(message = "请选择通知对象")
    @Size(max = 100, message = "单次发送不能超过{max}条/次")
    @ApiModelProperty(value = "分配记录id")
    private List<TblScalePsyRecord> rIds;

    @NotEmpty(message = "请选择通知方式")
    @HasNonElement(message = "通知方式不能包含null")
    @ApiModelProperty(value = "通知方式", notes = "0.全部 1.微信")
    private List<Integer> noticeWay;

}
